package com.hc.comm.exception;


public enum OprationStatus {

    NORMAL(10000, "正常"), LOGIN(10001, "请登录"), OVERDUE(10002,
            "令牌过期"), ERROR(10003, "系统异常"), AGAIN(200, "重新绑定用户信息"), FAIL(0, "请求失败");

    private int code;
    private String label;

    private OprationStatus(int code, String label) {
        this.code = code;
        this.label = label;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
